#include "echo_server.h"
#include "../log.h"

int main(void)
{
    boost::asio::io_context io_context;
    try 
    {
        Server echo_server(io_context, 8080);
        io_context.run();
    }
    catch (std::exception& e)
    {
        log_error("message:{}", e.what());
    }

    return 0;
}